//
//  HeadLineCell.m
//  WY
//
//  Created by lanou3g on 16/5/10.
//  Copyright © 2016年 pcc. All rights reserved.
//

#import "HeadLineCell.h"
#import "HeadLineModel.h"
#import <UIImageView+WebCache.h>

@interface HeadLineCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iageView;

@end
@implementation HeadLineCell

-(void)setHeadModel:(HeadLineModel *)headModel {
    if (_headModel != headModel) {
        _headModel = headModel;
        [self.iageView sd_setImageWithURL:[NSURL URLWithString:self.headModel.imgsrc]];
    }
}

@end
